<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sis Pialang</title>
	<script src="<?php echo base_url();?>js/jquery.js" type="text/javascript"></script>
	<link rel="stylesheet" type="text/css" href="<?php echo themeUrl();?>style/style.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>style/flora.datepicker.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>style/tipsy.css" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script src="<?php echo base_url();?>js/ui.datepicker.js" type="text/javascript"></script>
	<script src="<?php echo base_url();?>js/jquery.tipsy.js" type="text/javascript"></script>
	<script src="<?php echo base_url();?>js/jquery.simplemodal.js" type="text/javascript"></script>
	<title>Integrated Management System V.001</title>
	<!--[if lt IE 8]>
   <style type="text/css">
   li a {display:inline-block;}
   li a {display:block;}
   </style>
   <![endif]-->
   <script language="javascript">
   	var BASE_URL = '<?php echo base_url();?>';
	var MOD_URL = '<?php echo modUri();?>';
	var SELF_URL = "<?php echo $own_links;?>";
	var THEME_URL = "<?php echo themeUrl();?>";
	var ACTIVE_MENU= "<?php echo $this->uri->segment(1);?>";
   </script>
   <script src="<?php echo base_url();?>js/ios.js" type="text/javascript"></script>
   <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>style/ios.css" />
	<!--[if lt IE 7]>
	<style type='text/css'>
		#simplemodal-container a.modalCloseImg {
			background:none;
			right:-3px;
			width:22px;
			height:26px;
			filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
				src='<?php echo base_url();?>images/x.png', sizingMethod='scale'
			);
		}
	</style>
	<![endif]-->
    <style type="text/css">
	body{
		background:#eee url(<?php echo themeUrl();?>/images/bg.png) repeat top center;
		letter-spacing:1px;
	}
	*{font-family:"Lucida Grande",Tahoma; font-size:13px;}
	#footer,#content,#header,#menu-top .menu{
		width:90%;	
	}
	#header .company{
		width:70%;	
	}
/*	#content .top{
		background-color:#099;
	}
	#content .top .title{
		color:#fff;	
	}
	#header .company h1{
		color:#039;	
	}
	.btnbatal,.btnsimpan{
		background-color:#F30;
		color:#111;	
	}
	.simplemodal-container,.simplemodal-container .simplemodal-data button{
		background:#f45 url(../images/bg2.png) repeat top center;
	}
*/
	</style>
</head>

<body>
<div id="menu-top">
	<div class="menu">
		<?php  echo createMenu($this->jCfg['menu'],true);?>
		
		<a href="<?php echo modUri();?>auth/out" class="out" style="padding:9px;">Logout</a>
		
		<div class="profile-user">
			Selamat Datang <a href="#" class="to"><?php echo $this->jCfg['user']['fullname'];?></a>,<?php echo myDate(date("Y-m-d H:i:s"),"d M Y");?>
		</div>
		
	</div>	
</div>
<div id="header">
	<div class="company">
		<img src="<?php echo themeUrl(); ?>images/logo.png" align="left" />
		<h1>PT.AA PIALANG ASURANSI</h1>
		<h5>Panin Plaza (Wisma Raya) Lt 5, Jl. Letjend Soepeno Blok CC6 No 9-10 Jakarta 12210</h5>
		<h5>Phone: (6221) 53664431/53664432</h5>
		<h5>Fax: (6221) 53664436/53664437 </h5>
	</div>
	<div class="myprofile">
		<a href="<?php echo modUri();?>profile" class="to">Profile</a> 
		<a href="<?php echo modUri();?>change-password" class="to">Ganti Password</a>
        <a href="<?php echo modUri();?>setting" class="to simple"><b>Setting</b></a> 
	</div>
</div>
<div id="content"> 
	<div class="top">
		<div class="title">&raquo; <?php echo isset($title)?$title:'';?></div>
		<div class="action">
			<?php isset($links)?getLinks($links):'';?>
		</div>
		<div class="clr"></div>
	</div>
    <?php if(getCfgApp("show_bar_msg")=="ya"){?>
	<div class="info">
		<?php echo isset($message)&&trim($message)!=''?$message:'&raquo; Isikan Data Dengan Benar !!';?>
		<a href="#" class="hiden">X</a>
	</div>
    <?php } ?>
	<div class="clr"></div>
	<div class="workarea">